<%layout("/common/layout.html"){%>

<div class="row">
    <div class="col-md-4">
        <br>
        <br>
        <ul class="nav nav-pills nav-stacked text-center">
            <li><a href="${ctxPath}/user/myInfo">我的信息编辑</a></li>
            <li><a href="${ctxPath}/user/myOrder">我的订单</a></li>
            <li><a href="${ctxPath}/user/myCollect">我的收藏</a></li>
            <li><a href="${ctxPath}/message/">我的私信</a></li>
            <li class="active"><a href="#">我的通知</a></li>
        </ul>
    </div>


    <div class="col-md-8">
        <div class="row">

            <div class="panel">
                <div class="panel-body">
                    <div class="row">
                        <h2 class="my-title" style="padding:20px;font-size:20px"><span
                                class="glyphicon glyphicon-tag"></span>&nbsp;&nbsp;我的消息<a href="#"
                                                                                          class="btn btn-info pull-right">全部设为已读</a>
                        </h2>
                    </div>
                    <div class="list-group">

                        <%for(li in page.list){%>


                        <a href="${ctxPath}/notice?notice=${li.id}"
                           class="list-group-item <%if(li.is_read==0){%>active<%}%>">
                            <%if(li.type==0){%>
                            新留言-
                            <%}else{%>
                            订单状态变更-
                            <%}%>
                            ${li.design.name}
                        </a>

                        <%}%>


                    </div>

                    <nav class="row text-center">
                        <%include("/common/paginate.html",{"currentPage":page.pager.pageNumber,"totalPage":page.pager.pageCount,"actionUrl":actionUrl}){}%>
                    </nav>

                </div>
            </div>
        </div>

    </div>

</div>

<%include("/common/footer.html"){}%>

<script type="text/javascript" src="${ctxPath}/js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="${ctxPath}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctxPath}/js/nav.js"></script>
<%}%>